package com.example.ui_test.widget

import android.content.Context
import androidx.work.Data
import androidx.work.Worker
import androidx.work.WorkerParameters

/**
 *
 *
 * @author : Kun
 * @date : 2021/9/27
 * @time : 14:22
 */
class BWorker(context: Context, workerParams: WorkerParameters) : Worker(context, workerParams)  {
    override fun doWork(): Result {
        val resData = Data.Builder().putString("bKey","b").build()
        return Result.success(resData)
    }
}